public class GxStatusBar
GxStatusBar
Gx status bar manager. The class can add, remove & hide status bar components
Constructor and Description |
---|
GxStatusBar(BBjGridExWidget widget!) Construct new sidebar |
Modifier and Type | Method and Description |
---|---|
void | addComponent(GxStatusBarComponentInterface component!) Add statusbar component |
GxStatusBarComponentInterface | getComponent(BBjString id!) Get statusbar component |
void | removeComponent(BBjString id!) Remove statusbar component |
void | removeComponent(GxStatusBarComponentInterface component!) Remove statusbar component |
void | setComponentVisibility(BBjString id!, BBjNumber visibility!) Hide/show statusbar component |
void | setComponentVisibility(GxStatusBarComponentInterface component!, BBjNumber visibility!) Hide/show statusbar component |
String | toString() Convert the statusbar into a parsable json string |
public GxStatusBar(BBjGridExWidget widget!)
Construct new sidebar
BBjGridExWidget
widget!public void addComponent(GxStatusBarComponentInterface component!)
Add statusbar component
GxStatusBarComponentInterface
component! a statusbar componentpublic GxStatusBarComponentInterface getComponent(BBjString id!)
Get statusbar component
BBjString
id! The component idpublic void removeComponent(BBjString id!)
Remove statusbar component
BBjString
id! The component idpublic void removeComponent(GxStatusBarComponentInterface component!)
Remove statusbar component
GxStatusBarComponentInterface
component! a statusbar componentpublic void setComponentVisibility(BBjString id!, BBjNumber visibility!)
Hide/show statusbar component
BBjString
id! The component idBBjNumber
visibility! 0 to hide component, 1 to show componentpublic void setComponentVisibility(GxStatusBarComponentInterface component!, BBjNumber visibility!)
Hide/show statusbar component
GxStatusBarComponentInterface
component! a statusbar componentBBjNumber
visibility! 0 to hide component, 1 to show componentpublic String toString()
Convert the statusbar into a parsable json string